<!-- <!DOCTYPE html> -->
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<!-- 使用UTF-8 -->
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
		<!-- 设置移动终端可视区域 -->
		<meta content="telephone=no" name="format-detection">
		<!-- 禁止iPhone等手机自动将数字变成可点击的拨号连接 -->
		<title>任务调整列表</title>
		<link href="css/style.css" type="text/css" rel="stylesheet" />
		<link href="css/weui.css" type="text/css" rel="stylesheet" />
	</head>
	<body style="background: #F6F6F6;">
		<div class="evaluate" id="containerVue" v-cloak>
			<div class="headerView">
				<i onclick="closeView()">&#139;</i>
				<h1>"966588"查询系统</h1>
				<div></div>
			</div>
			<div v-if="taskList.length > 0">
				<div class="cont evaluateList" v-for="item in taskList">
					<div class="evaluateText">
						<div class="label">项目名称</div>
						<div class="text" style="color: #333;font-weight: bold;">{{item.projectName}}</div>
					</div>
					<div class="evaluateText">
						<div class="label">调整人员</div>
						<div class="text">{{item.createBy}}</div>
					</div>
					<div class="evaluateText">
						<div class="label">调整类型</div>
						<div class="text">{{item.type}}</div>
					</div>
					<div class="evaluateText" v-if="item.adjustTime != null">
						<div class="label">{{item.type}}时间</div>
						<div class="text">{{item.adjustTime}}</div>
					</div>
					<div class="evaluateText" v-if="item.description != ''">
						<div class="label">情况描述</div>
						<div class="text">{{item.description}}</div>
					</div>
				</div>
			</div>
			<div v-else class="cont taskList kong"><img src="image/kong.png" alt="">暂无评价信息</div>
			
		</div>
		<script src="script/jquery-3.5.js"></script>
		<script src="script/vue.js"></script>
		<script src="script/api.js"></script>
		<script src="script/ajax.js"></script>
		<script src="script/laydate/laydate.js"></script>
		<!-- <script src="../js/common/mui.min.js"></script> -->
		<!-- <script src="../js/common/openview.js"></script> -->
		<script>
			var app = new Vue({
				el: '#containerVue',
				data: {
					info: JSON.parse(sessionStorage.getItem('taskInfo')), // 详情信息
					taskList: [],
				},
				created() {
					this.getList();
				},
				watch: {},
				methods: {
					// 获取详情
					getList() {
						var that = this;
						// 请求投诉详情信息
						ajaxHttp({
							url: '/jeecg-boot/node/nodeProjectAdjustment/getAdjustByProId',
							type: 'post',
							data: {projectId:that.info.id},
							success: function(res) {
								if (res.code == '200') {
									// console.log(JSON.stringify(res));
									that.taskList = res.result
								} else {
									$.Jwarning(res.message)
								}
							}
						})
					}
				}
			})
		</script>
	</body>
</html>
